package com.atguigu;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "atguigu")
public class AtguiguProperties {

    private String  driver;
    private String  url;
    private String  user;
    private String  pwd;
}
